package 线程.zuoye;

public class zuoye1t {
    public static void main(String[] args) {
        int putong=50;
        int texu=10;
        zuoye1 z1=new zuoye1(1,putong/1);
        zuoye1 z2=new zuoye1(2,texu/1);
        Thread thread1=new Thread(z1);
        Thread thread2=new Thread(z2);
        thread1.setName("普通号");
        thread1.start();
        thread2.setName("特需号");
        thread2.start();

    }
}
